<?php


include_once 'Core/Conexion.php';
include_once 'Core/ControladorSet.php';
include_once 'Core/InterfazDatos.php';
include_once './Admin/entidades/Usuario.php';
///****


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 * Description of lista
 *
 * @author cHr15t14n
 */
class lista extends ControladorSet {


    public function buscarValores() {
       $cadena="";
       $entidad=new Usuario("","","","", "","");
       $consulta=$this->conexion->consultaLibre("SELECT * FROM USUARIO");
       $fila=  mysql_fetch_row($consulta);
       do
       {
           $cadena=$cadena."<tr>";
           $cadena=$cadena."<td>".$fila[0]."</td>";
           $cadena=$cadena."<td>".$fila[1]."</td>";
           $cadena=$cadena."</tr>";
           
       }while($fila=  mysql_fetch_row($consulta));
       
       $this->diccionario['tabla']=$cadena;
    }

    public function setDiccionario() {
        $this->diccionario = array(
            "tabla" => "",
        );
    }

    public function setValorSesion() {
        
    }

//put your code here
}

$controlador = new lista('pruebaVista.php');
$controlador->rederizarPagina();
